package com.itheima.test1;

public class Animal {
    private String name;
    private int age;

    public static void show(){
        System.out.println("Animal父类里面的静态方法");
    }
    public void withPeople(){
        System.out.println("陪伴人类!");
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
